package com.itheima.service.db;

import com.itheima.domain.db.User;

public interface UserService {
    //保存用户
    Long save(User user);

    //通过手机号查询用户
    User findByPhone(String phone);
    //通过用户Id查询用户
    User findByUserId(Long userId);


    void update(User user);


}
